
function reply(consultationID){
	alert(consultationID);
	var odiv = $("#reply"+consultationID);
	odiv.css("display","block");
}

function cancelReply(consultationID){
	var odiv = $("#reply"+consultationID);
	odiv.css("display","none");
}

function submitReply(consultationID){
	var replyText="";
	var oreplyText = $("#replyText"+consultationID);
	replyText = oreplyText.val();
	$.ajax({
		url:"ConsultationServlet",
		data:{
			action:"replyConsultation",
			consultationID:consultationID,
			replyText :replyText
		},
		type:"post",
		dataType:"json",
		success:replySuccess
	});	
	
}

function replySuccess(data){
}